<h1>Visualiser un commentaire</h1>
<table>
  <tr>
  	<td><%=h @comment.title %>, posté par <%=h @comment.user.login %> (<%=h @comment.created_at %>)</td>
  </tr>
  <tr>
    <td colspan="2"><%=h @comment.text %></td>
  </tr>
</table>

<p>
  <%= image_tag("./pictures/#{@comment.picture_id}.#{@comment.picture.extension}", :height => "500") %>
</p>

<%= link_to 'Modifier', edit_comment_path(@comment) %> |
<%= link_to 'Retour', comments_path %>
